import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 导入全局样式表  
// import axios from 'axios';
// import {baseUrl} from '../public/api.js'
// axios.defaults.baseURL = baseUrl

// import {ue, ue4} from './assets/UE4.js'
import {ue, ue4} from './assets/UE.js'
Vue.use(ElementUI)
Vue.prototype.$ue = ue
Vue.prototype.$ue4 = ue4
window.ue = ue
window.ue4 = ue4
// ue4("qqq",{mes:"xxxxxxxxxxxxx"})

// Vue.prototype.$axios = axios;
import {api} from '@/api/request.js'
Vue.prototype.$api = api;
import './assets/css/global.css'
import '@/assets/css/font.css'
import './plugins/element.js'  
import 'element-ui/lib/theme-chalk/index.css'   //引用 element-ui 样式
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false


new Vue({
	router,
  store,
  render: h => h(App),
    beforeCreate(){
      Vue.prototype.$bus=this
    }
}).$mount('#app')
